from random import randint as rnd
n = int(input())
с = 0
for i in range(n):
    x = rnd(-100, 100)
    y = rnd(-100, 100)
    if -7 <= x <= 5 and -8 <= y <= 5:
        с = с + 1
print("Количество выстрелов :" + str(n))
print("Количество попаданий :" + str(с))
